package com.xiaoyu.lanling.event.gift

import `in`.srain.cube.request.JsonData
import com.xiaoyu.base.event.BaseJsonEvent
import com.xiaoyu.base.utils.JsonUtil
import com.xiaoyu.lanling.feature.gift.model.Gift

class GetNotPlayedGiftAnimationEvent(requestTag: Any, jsonData: JsonData) : BaseJsonEvent(requestTag, jsonData) {

    val gifts = JsonUtil.convertToListWithIndex(jsonData) { itemData, index -> Gift(index, itemData) }
}